package com.rocching.easychat.ui;

import android.view.View;
import android.widget.TextView;

import androidx.annotation.NonNull;

import io.rong.imkit.conversationlist.ConversationListAdapter;
import io.rong.imkit.widget.adapter.ViewHolder;

public class MyConversationListAdapter extends ConversationListAdapter {
    @Override
    public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
        super.onBindViewHolder(holder, position);

        TextView titleView = holder.getView(io.rong.imkit.R.id.rc_conversation_title);
        if (titleView != null) {
            titleView.setTextSize(15);
        }

        TextView contentView = holder.getView(io.rong.imkit.R.id.rc_conversation_content);
        if (contentView != null) {
            contentView.setTextSize(13);
        }
    }
}
